<%@ Page language="c#" Codebehind="RightList.aspx.cs" AutoEventWireup="True" Inherits="PPAP.Web.BasicManage.RightList" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>RightList</title>
		<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
		<meta name="CODE_LANGUAGE" Content="C#">
		<meta name="vs_defaultClientScript" content="JavaScript">
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
		<script type="text/javascript">
		function edit(rightid)
		{
			var url = "RightManage.aspx?RightID="+rightid;
			PopUpWindow(url);
		}
		function add()
		{			
			 var url = "RightManage.aspx";
			 PopUpWindow(url);
		}
		</script>
	    <style type="text/css">
            .style1
            {
                width: 147px;
            }
        </style>
	</HEAD>
    <font size='-1' color='gray'>Current position:Admin>>Menu Manager</font>
	<body  style="font-family: Arial, Helvetica, sans-serif;"  MS_POSITIONING="FlowLayout">
		<form id="Form1" method="post" runat="server">
			<FIELDSET><legend>Search</legend>
				<table cellSpacing="1" cellPadding="1" width="100%" align="center" border="0">
					<tr >
						<td class="style1">Subordinate module</td>
						<td><asp:DropDownList id="ddlModule" runat="server" AutoPostBack="True"></asp:DropDownList></td>
					</tr>
				</table>
			</FIELDSET>
			<p></p>
			<FIELDSET><legend>Permissions list</legend>
				<div align="right">
                <input type="button" class="button" onclick="add()" value="Add" /></div>
				<asp:datagrid id="dgGrid" Width="100%" Runat="server" AutoGenerateColumns="False" OnLoad="dgLoad">
					<HeaderStyle HorizontalAlign="Left" Wrap="false"></HeaderStyle>
					<Columns>
						<asp:BoundColumn DataField="filename" HeaderText="code">
						<ItemStyle Width="120" Wrap="false"></ItemStyle>
						</asp:BoundColumn>
						<asp:BoundColumn DataField="explain" HeaderText="Name">
							<ItemStyle Width="120" Wrap="false"></ItemStyle>
						</asp:BoundColumn>						
						<asp:BoundColumn DataField="menucode" HeaderText="position">	
							<ItemStyle Width="50" Wrap="false"></ItemStyle>								
						</asp:BoundColumn>
						<asp:BoundColumn DataField="linkto" HeaderText="Link address">							
						</asp:BoundColumn>
						<asp:BoundColumn DataField="target" HeaderText="target">
							<ItemStyle Width="50" Wrap="false"></ItemStyle>		
						</asp:BoundColumn>
						<asp:HyperLinkColumn Text="Edit" DataNavigateUrlField="rightlistid" DataNavigateUrlFormatString="javascript:edit('{0}')"
							HeaderText="operation">
							<ItemStyle HorizontalAlign="Left" Wrap="false"></ItemStyle>
						</asp:HyperLinkColumn>
					</Columns>
				</asp:datagrid>
				<p></p>
			</FIELDSET>
		</form>
	</body>
</HTML>
